package com.ddwl.schema.bo.user;

import com.ddwl.schema.bo.base.BaseBo;
import io.gitee.tooleek.lock.spring.boot.annotation.Key;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

@Getter
@Setter
@ApiModel("分销用户注册入参")
public class FenxiaoRegisterBo extends BaseBo{

    @ApiModelProperty(value = "分销员id",required = true)
    private String id;

    @ApiModelProperty(value = "手机号",required = true)
    private String mobile;

    @ApiModelProperty(value = "注册密码")
    private String password;

    @ApiModelProperty(value = "微信OpenId")
    private String wxOpenId;

    @ApiModelProperty(value = "应用id")
    private String appId;

    @ApiModelProperty(value = "通用ID")
    private String unionId;

    @ApiModelProperty(value = "邀请码")
    private String inviteCode;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("昵称名字")
    private String nickname;

    @ApiModelProperty("真实名字")
    private String realname;

    @ApiModelProperty("性别0未知1-男2-女")
    private Byte sex;

    @ApiModelProperty(value = "设备唯一码",hidden = true)
    private String  dk;
    @ApiModelProperty(value = "产品",hidden = true)
    private String  product;
    @ApiModelProperty(value = "城市")
    private String city;
    @ApiModelProperty(value = "省份")
    private String province;
    @ApiModelProperty(value = "国家")
    private String country;
    @ApiModelProperty("区域id")
    private String regionId;
    @ApiModelProperty(value = "邀请人id")
    private String inviteId;
    @ApiModelProperty("渠道")
    private String channel;

    @ApiModelProperty(value = "用户身份证姓名",required = true)
    private String idName;

    @ApiModelProperty(value = "用户身份证号",required = true)
    private String idCard;

    @ApiModelProperty(value = "地址不能为空",required = true)
    private String adder;

    @NotNull
    @ApiModelProperty(value = "身份证正面",required = true)
    private String idCardBack;

    @NotNull
    @ApiModelProperty(value = "身份证反面",required = true)
    private String idCardFront;

    @ApiModelProperty("是否有分销 0否 1是")
    private Integer hasFenxiao;
    @ApiModelProperty("是否有身份证 0否 1是")
    private Integer hasIdCard;
}
